home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / Musique / Quod Libet / quodlibet-3.3.0-installer.exe / bin / quodlibet / formats / monkeysaudio.pyc (.txt) < prev    next >
Python Compiled Bytecode  |  2014-12-31  |  930b  |  27 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.7)
  3.  
  4. from quodlibet.formats._apev2 import APEv2File
  5. extensions = [
  6.     '.ape']
  7.  
  8. try:
  9.     from mutagen.monkeysaudio import MonkeysAudio
  10. except ImportError:
  11.     extensions = []
  12.  
  13.  
  14. class MonkeysAudioFile(APEv2File):
  15.     format = "Monkey's Audio"
  16.     
  17.     def __init__(self, filename):
  18.         audio = MonkeysAudio(filename)
  19.         super(MonkeysAudioFile, self).__init__(filename, audio)
  20.         self['~#length'] = int(audio.info.length)
  21.         self.sanitize(filename)
  22.  
  23.  
  24. info = MonkeysAudioFile
  25. types = [
  26.     MonkeysAudioFile]
  27.